.shoppingPage {
  background: #fff;
  min-height: 100vh;
  padding-bottom: 24px;
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}
.searchBar {
  width: 90%;
  margin: 0 auto 18px auto;
  background: #f5f6fa;
  border-radius: 12px;
  padding: 10px 16px;
  box-sizing: border-box;
}
.searchInput {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #333;
}
.sortBar {
  display: flex;
  gap: 16px;
  margin: 0 16px 18px 16px;
  align-items: center;
}
.sortBtn {
  padding: 6px 18px;
  border-radius: 18px;
  border: 1.5px solid #222;
  background: #fff;
  font-size: 15px;
  color: #222;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.sortBtn.active {
  background: #222;
  color: #fff;
}
.productGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 16px;
  margin: 0 16px;
}
.productCard {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 12px 10px 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.productImg {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
}
.productTitle {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 6px;
  color: #222;
}
.productPrice {
  font-size: 16px;
  color: #222;
  font-weight: bold;
}
.loadingText {
  text-align: center;
  color: #888;
  margin: 24px 0;
}
